﻿CollectSourceFiles(${CMAKE_CURRENT_SOURCE_DIR} PRIVATE_SOURCES)
GroupSources(${CMAKE_CURRENT_SOURCE_DIR})

add_library (mbedtls STATIC ${PRIVATE_SOURCES})

target_include_directories(mbedtls 
    PUBLIC 
		${CMAKE_CURRENT_SOURCE_DIR}/include)

target_link_libraries(mbedtls PRIVATE emoney-core-interface )
target_link_libraries(mbedtls PUBLIC ${CMAKE_THREAD_LIBS_INIT})
set_target_properties(mbedtls PROPERTIES FOLDER "dep")
set_property(TARGET mbedtls PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")

